<?php

namespace app\common\library;

use think\Exception;

class ApiException extends Exception
{

    public function __construct($msg="",$code=0,$data=[])
    {
        $this->message = $msg;
        $this->code = $code;
        $this->data = $data;
    }
}